package com.quotemanager.util;

import java.util.ResourceBundle;

import org.apache.log4j.Logger;

public class Messages {
	private static ResourceBundle resourceBundle = null;
	private static final Logger logger = Logger.getLogger(Messages.class);
	
	static{
		String fileName = "quotemanager";
		resourceBundle = ResourceBundle.getBundle(fileName);
	}
	
	public static String getMessage(String key){
		return resourceBundle.getString(key);
	}	
}
